SftTree/OCX 7.0

SftTree.LeftButtonOnly Property

Softel vdm, Inc.

Defines whether the tree control responds only to the left mouse button.

Syntax       

Get

VB.NET

Boolean = object.LeftButtonOnly  As Boolean

VB

Boolean = object.LeftButtonOnly  As Boolean

C#.NET

bool Boolean = object.LeftButtonOnly;

VC++

VARIANT_BOOL Boolean = object->LeftButtonOnly;
VARIANT_BOOL Boolean = object->GetLeftButtonOnly();

C

HRESULT object->get_LeftButtonOnly(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.LeftButtonOnly   : WordBool;

Put

VB.NET

object.LeftButtonOnly = Boolean  As Boolean

VB

object.LeftButtonOnly = Boolean  As Boolean

C#.NET

bool object.LeftButtonOnly = Boolean;

VC++

VARIANT_BOOL object->LeftButtonOnly = Boolean;
void object->PutLeftButtonOnly(VARIANT_BOOL Boolean);

C

HRESULT object->put_LeftButtonOnly(VARIANT_BOOL Boolean);

Delphi

object.LeftButtonOnly := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether the tree control responds only to the left mouse button.

Boolean

Description

True

Left mouse button clicks are handled by the tree control.  MouseDown, MouseUp, Click, ItemClick, ItemClickAgain and ItemDblClick events are only generated for the left mouse button.

False

Left mouse button clicks are not handled by the tree control.  MouseDown, MouseUp, Click, ItemClick, ItemClickAgain and ItemDblClick events are generated for all mouse buttons.

Comments

The LeftButtonOnly property defines whether the tree control responds only to the left mouse button.

The LeftItemClickOnly property can be used to ignore the right and middle mouse button, but still allows MouseDown and MouseUp events for these buttons.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com